package com.laborer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.laborer.entity.User;
import org.springframework.stereotype.Service;

/**
 * @Author: zhangzhe
 * @Date:   2021-06-08
 * @Version: V1.0
 */
public interface IUserService extends IService<User> {
    /**
     * 根据用户名和密码完成登录判断
     * @param user
     */
    boolean login(User user);

    /**
     * 根据用户名,修改密码
     * @param user
     */
    boolean updatePassword(User user);
}
